package com.wen.commandMode;

public class ClinetTest {
    public static void main(String[] args) {
        ConcreteAReveicer concreteAReveicer = new ConcreteAReveicer();
        Command command = new ConcreteCommand(concreteAReveicer);
        Invoker invoker = new Invoker();
        invoker.setCommand(command);
        //执行结果
        invoker.doSomething();
    }
}
